package com.bms.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.spring4all.swagger.EnableSwagger2Doc;

@SpringBootApplication
@EnableTransactionManagement
@EnableAsync
@EnableSwagger2Doc
@ComponentScan(basePackages={"com.bms"})
@MapperScan("com.bms.**.mapper*")
public class App{

    public static void main(String[] args){
    	SpringApplication.run(App.class, args);
    }
} 